/*
*/ 
#ifndef __I2C_H
#define __I2C_H

#ifndef	__SYSTEM_H
#include "system.h"
#endif

//#include "stm32f10x.h"

/* Use the defines below the choose the EEPROM type */
//#define EE_M24C08  /* Support the device: M24C08. */
/* note: Could support: M24C01, M24C02, M24C04 and M24C16 if the blocks and 
   HW address are correctly defined*/
/* Defines for the GPIO pins used for the I2C communication */

#define I2C_SCL         GPIO_Pin_10
#define I2C_SDA         GPIO_Pin_11

void	I2cRead		(U32,void*,U32);
void	I2cWrite	(U32,U32,void*,U32);
void 	InitI2c		(void);

#endif /* __I2C_H */